<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改处罚记录</title>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="background-color: transparent;">
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1><small>
                    修改处罚记录
                </small></h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/record/updateRecord" method="post">
        <%--前端传递隐藏域--%>
        <input type="hidden" name="p_id" value="${uRecord.p_id}">
        <div class="form-group">
            <label>案件名称</label>
            <input type="text" name="p_case" class="form-control" value="${uRecord.p_case}" required/>
        </div>
        <div class="form-group">
            <label >处罚决定书编号</label>
            <input type="text" name="p_num" class="form-control" value="${uRecord.p_num}" required/>
        </div>
        <div class="form-group">
            <label>自然人姓名</label>
            <input type="text" name="p_name" class="form-control" value="${uRecord.p_name}" required/>
        </div>
        <div class="form-group">
            <label>处罚事由</label>
            <input type="text" name="p_reason" class="form-control" value="${uRecord.p_reason}" required/>
        </div>
         <div class="form-group">
            <label>处罚依据</label>
            <input type="text" name="p_basis" class="form-control" value="${uRecord.p_basis}" required/>
        </div>
        <div class="form-group">
            <label>处罚结果</label>
            <input type="text" name="p_result" class="form-control" value="${uRecord.p_result}" required/>
        </div>
        <div class="form-group">
            <label>执法单位名称 </label>
            <input type="text" name="p_unit" class="form-control" value="${uRecord.p_unit}" required/>
        </div>
        <div class="form-group">
            <label>处罚决定日期</label>
            <input type="data" name="p_time" class="form-control" value="${uRecord.p_time}" required/>
        </div>
        <div class="form-group">
            <label>处罚人类型</label>
<%--            <input type="text" name="p_class" class="form-control" value="${uRecord.p_class==0?"个人":(uRecord.p_class==1?"组织":"")}" required/>--%>
            <select name="p_class" class="form-control">
                <option value="${uRecord.p_class}" selected>--请选择--</option>
                <option value="0">个人</option>
                <option value="1">组织</option>
            </select>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="修改"/>
        </div>

    </form>

</div>
</body>
</html>
